﻿using System;
using Sharp.Portal;
using Sharp.Portal.Mvc.List;
using Sharp.Portal.Other;

namespace Sharp.WebBooter.Areas.Platform.Models
{
    [Title("通知管理")]
    [DataHandler(ModuleOP.Delete, "删除", 1)]
    public partial class NoticeIndexModel : Sharp.Portal.AdminLTE.BSSharpList
    {
        public NoticeIndexModel()
        {
            this.Feature = ListFeature.MultiSelect | ListFeature.Paging;

        }

        /// <summary>
        /// 主键
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        [Column(Text = "内容"), QueryOption(Option = QueryFeature.DefualtQuery)]
        public string Content { get; set; }

        /// <summary>
        /// 发布时间
        /// </summary>
        [DateColumn(Text = "发布时间", Format = "YYYY-MM-DD hh:mm:ss", Width = 180)]
        public DateTime PublishTime { get; set; }

    }
}